package com.example.userservice.controller;

import com.example.userservice.controller.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author ：qmf
 * @date ：Created in 2021/4/29 15:16
 * @description：
 * @modified By：
 */
@RestController
public class UserController {

    @Resource
    private UserService userService;

    @GetMapping("/getUser")
    public String getUser() {
        return "user";
    }

    @GetMapping("/getThird")
    public String getThird() {
        return userService.getThird();
    }

}
